const { defineConfig } = require('@vue/cli-service')

module.exports = defineConfig({
  transpileDependencies: true,
  configureWebpack: {
    optimization: {
      splitChunks: false // makes everything uses the same bundle
    },
    output:{
      filename: ('js/app.js'),
      chunkFilename: ('js/app.[id].[chunkhash].js')
    },
  },
  css: {
    extract: false // ensures CSS is inlined in the JS, not in a separate file
  },
  publicPath: './',
  devServer:{
    open:true
  }
})
